home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softdisk Supreme
/
Softdisk Supreme.iso
/
pc
/
DSK Files
/
0-49
/
SD020b.dsk
/
CHECK BOOK MENU.bas
< prev
next >
Wrap
BASIC Source File
|
2003-06-12
|
2KB
|
62 lines
100 ONERR GOTO 360
110 REM ** HELLO **
120 REM HELLO FOR CHECK BOOK
130 REM CHECKER
140 REM ********************
150 TEXT : HOME :D$ = CHR$(4): REM CTRL-D
160 REM
170 REM
180 REM
190 REM
200 FOR I = 1 TO 40: PRINT "=";: NEXT
210 T$ = "CHECK BOOK MENU"
220 L = LEN(T$)
230 HTAB 21 -L/2: PRINT T$
240 FOR I = 1 TO 40: PRINT "=";: NEXT
250 DATA S)SEE LAST ENTRY,R)RUN CHECK BOOK,Q)QUIT
260 R = 10
270 FOR I = 1 TO 3
280 READ A$: VTAB R: HTAB 10: PRINT A$
290 R = R +3: NEXT I
300 VTAB 20: HTAB 1: PRINT "WHICH CHOICE " CHR$(98)"S" CHR$(98)" " CHR$(98)"R" CHR$(98)" OR " CHR$(98)"Q" CHR$(98)
310 GET A$
320 IF A$ = "S" THEN PRINT : PRINT D$;"RUN READ"
330 IF A$ = "R" THEN PRINT : PRINT D$;"RUN CHECK BOOK CHECKER"
340 IF A$ = "Q" THEN PRINT : TEXT : HOME : VTAB 12: PRINT "THE COMPUTER IS YOURS": PRINT CHR$(4)"FP"
350 CLEAR : RESTORE : GOTO 110
360 REM ERROR ROUTINES
370 PK = PEEK(222)
380 DATA 6,8,9,16
390 FOR I = 1 TO 4: READ A: IF A = PK THEN S = I: ON S GOTO 410,460,530,610
400 NEXT
410 TEXT : HOME
420 VTAB 12: PRINT "THERE HAS BEEN AN ERROR"
430 PRINT : PRINT "MAKE SURE YOU HAVE THE CORRECT DISK IN THE CORRECT DRIVE"
440 VTAB 23: PRINT "PRESS RETURN TO CONTINUE ";: GET A$
450 PRINT : PRINT D$;"RUN HELLO"
460 REM I/O ERROR
470 TEXT : HOME
480 VTAB 12: PRINT "DISK ERROR!!"
490 PRINT : PRINT "MAKE SURE THE DOOR ON THE DISK DRIVE"
500 PRINT : PRINT "IS FULLY CLOSED"
510 VTAB 23: PRINT "PRESS RETURN TO CONTINUE ";: GET A$
520 PRINT : PRINT D$;"RUN CHECK BOOK MENU"
530 REM DISK FULL
540 TEXT : HOME
550 VTAB 12: PRINT "DISK IS FULL (BURP!!)"
560 PRINT : PRINT "YOUR CHECK FILE IS PROBLY THE REASON"
570 PRINT : PRINT "DO YOU WISH ME TO FIX IT ?"
580 PRINT : PRINT "PRESS 'Y' FOR YES OR 'N' FOR NO ";: GET A$
590 IF A$ = "N" THEN PRINT : PRINT D$;"RUN CHECK BOOK MENU"
600 PRINT D$;"RUN FIXER"
610 REM SYNTAX ERROR
620 TEXT : HOME
630 VTAB 12: PRINT "ERROR!! PROGRAM TERMINATED"
640 PRINT : PRINT "FIND PROBLEM AND REBOOT DISK"
650 PRINT : PRINT "END"
660 PRINT D$;"FP"
670 :
680 REM ** ERNIE MERLO **
690 REM 2415 LINCOLN AVE.
700 REM BELMONT CA. 94002
710 REM (415) 595-5945